<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String contextPath = request.getContextPath();
	String con = Tools.getParameter(request,"con");
	if (con == null) 
		con = "";
%>
 <%@ taglib prefix="zhangyj" uri="http://www.zhangyj.com/input" %>
<%@page import="com.zhangyj.component.grid.HTMLTable"%>
<%@page import="com.zhangyj.entitis.SystemParam"%>
<%@page import="com.zhangyj.component.ToolBar"%>
<%@page import="com.zhangyj.util.Tools"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="/WEB-INF/jsps/head.jsp" %>
<script type="text/javascript" src="<%=contextPath%>/common/jquery.js"></script>
<script type="text/javascript"
	src="<%=contextPath%>/common/flexigrid/flexigrid.js"></script>
<link rel="stylesheet" type="text/css"
	href="<%=contextPath%>/common/flexigrid/css/flexigrid/flexigrid.css">
<script type="text/javascript">
function add() {
	_setLocation("<%=contextPath%>/client/add.do");
}
function uf_query() {
	var form =document.forms["form1"];
	if (form["con"].value != "") 
		form.submit();
}
</script>
</head>
<body>
<%
	ToolBar toolbar = new ToolBar();
	toolbar.setTitle("客户信息维护");
	toolbar.put(new ToolBar.Item("添加", "add()"));
	toolbar.put(new ToolBar.Item("查询", "uf_query()"));
	toolbar.writer(out);
%>
<form action="<%=contextPath %>/client/list.do" name="form1">
<div class="subcontent" style="padding:0 auto">
     过滤条件：<input name="con" value="<%=con %>" style="width:200px"/><span style="color:blue">*可根据名称和电话过滤</span>
     <%=SystemParam.getSystemParam(request).toInput() %>
	</div>
</form>
<%
HTMLTable ht = (HTMLTable)request.getAttribute("table");
ht.println(out); 
%>
<zhangyj:pagnation />
</body>
<script type="text/javascript">
var fl1 = $('.grid').flexigrid();
</script>
</html>